HAL LTDC state and error functions migration ¶
HAL LTDC get state ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_LTDC_GetState(const LTDC_HandleTypeDef *hltdc);
|
HAL_LTDC_GetState(const hal_ltdc_handle_t *hltdc);
Note
In HAL2, to retrieve the layer state use
|
Related concept: Revised and optimized HAL state machine
HAL LTDC get error code ¶
|
HAL1 |
HAL2 |
|---|---|
HAL_LTDC_GetError(const LTDC_HandleTypeDef *hltdc);
|
HAL_LTDC_GetLastErrorCodes(const hal_ltdc_handle_t *hltdc);
|
Related concept: Revised and optimized HAL error management